package com.baseframe.topic.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.ToString;

/**
 * 测验题目表
 * @TableName sns_test_topic_item
 */
@TableName(value ="sns_test_topic_item")
@Data
@ToString
public class SnsTestTopicItem implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 测验主键
     */
    private Long topicId;

    /**
     * 
     */
    private String name;

    /**
     * 答对奖励
     */
    private Integer award;

    /**
     * 正确答案
     */
    private Long correctAnswer;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 
     */
    private Integer isDeleted;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT)
    private Long createBy;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateBy;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}